package com.foreverwin.mes.integration.soap.material.dto;

import javax.xml.bind.annotation.*;

/**
 * @author Ervin Chen
 * @date 2020/1/8 18:32
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaterialBasicData",propOrder = {
        "item",
        "description",
        "revision",
        "unitOfMeasure",
        "itemType",
        "itemGroup",
        "lotSize",
        "isBatchManagement"
})
public class MaterialBasicData {

    @XmlElement(name = "item", required = true)
    private String item;
    @XmlElement(name = "description", required = true)
    private String description;
    @XmlElement(name = "revision", defaultValue = "1")
    private String revision;
    @XmlElement(name = "unitOfMeasure", required = true)
    private String unitOfMeasure;
    @XmlElement(name = "itemType", required = true)
    private String itemType;
    @XmlElement(name = "itemGroup", required = true)
    private String itemGroup;
    @XmlElement(name = "lotSize", defaultValue = "99999999")
    private String lotSize;
    @XmlElement(name = "isBatchManagement", required = true)
    private String isBatchManagement;

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRevision() {
        return revision;
    }

    public void setRevision(String revision) {
        this.revision = revision;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemGroup() {
        return itemGroup;
    }

    public void setItemGroup(String itemGroup) {
        this.itemGroup = itemGroup;
    }

    public String getLotSize() {
        return lotSize;
    }

    public void setLotSize(String lotSize) {
        this.lotSize = lotSize;
    }

    public String getIsBatchManagement() {
        return isBatchManagement;
    }

    public void setIsBatchManagement(String isBatchManagement) {
        this.isBatchManagement = isBatchManagement;
    }
}
